#
# Copyright 2007 Jeffrey Palm
#

NAME=Bloglines
REMOTE_DIR=bloglinesgo
ANT=ant -Dproject=$(NAME) -Dremote.dir=$(REMOTE_DIR)

%.tar.gz:%.tar
	gzip -9 -f $<

upload:
	$(ANT) upload

upload-php:
	$(ANT) upload.php

upload-src:
	$(ANT) upload.src

upload-all: upload upload-php upload-src

$(NAME).tar: Makefile src res php scripts build.xml project.properties

dist: $(NAME).tar.gz

allclean: distclean clean

distclean:
	rm -f $(NAME).tar $(NAME).tar.gz

clean:
	rm -rf `find . -name "*~"`